﻿using System;
using Habanero.BO;
using Habanero.BO.ClassDefinition;
using Habanero.BO.Loaders;
using Habanero.UI.Base;
using Habanero.UI.Win;
using NUnit.Framework;
using UseCaseManager.BO;
using UseCaseManager.Test.BO;

namespace UseCaseManager.Test.UI
{
    [TestFixture, Ignore("To be implemented.")]
    public class TestBurnDownChartControl
    {
        [TestFixtureSetUp]
        public void SetupTestFixture()
        {
            //Executes once for all tests in this fixture
            ClassDef.ClassDefs.Clear();
            ClassDef.LoadClassDefs(new XmlClassDefsLoader(BOBroker.GetClassDefsXml(), new DtdLoader()));
        }

        [SetUp]
        public void TestSetup()
        {
            //Test Setup Runs prior to each test in this fixture executing.
            BORegistry.DataAccessor = new DataAccessorInMemory();
            TestUtils.ClearAllTables();
            BusinessObjectManager.Instance.ClearLoadedObjects();
            GC.Collect();
            GC.WaitForPendingFinalizers();
            GlobalUIRegistry.ControlFactory = new ControlFactoryWin();
        }
        
        [Test]
        public void Test_GetData_ReturnsValidSeries()
        {
            //---------------Set up test -----------------------
            
            //---------------Assert pre conditions -------------

            //---------------Execute Test ----------------------

            //---------------Test Result -----------------------

        }

       

    }
}
